
package com.zhu.salesmanagement.overlays;

import com.baidu.mapapi.GeoPoint;
import com.baidu.mapapi.OverlayItem;
import com.zhu.salesmanagement.models.MapFieldVO;
import com.zhu.salesmanagement.models.VisitTaskInfo;

public class StadiumOverlayItem extends OverlayItem {

    private VisitTaskInfo data;

    public StadiumOverlayItem(VisitTaskInfo data) {
        super(new GeoPoint((int) (data.mLatitude * 1e6), (int) (data.mLongitude * 1e6)), data.mName,
                data.mAddress);
        this.data = data;
    }

    public VisitTaskInfo getData() {
        return this.data;
    }
}
